/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 29, 2013, 1:53:37 PM
    Author     : THICH HOA DONG TIEN
*/
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 29, 2013, 1:40:38 PM
    Author     : THICH HOA DONG TIEN
*/

.contentindex
{
    position: absolute;
    width: 96%;
    left: 4%;
    top: 75px;
    right: 0;
    bottom: 0;
    padding: 30px 15%;
    background-color: #fff;
    overflow: auto;
    z-index: 0;
    -webkit-transform-origin: 0 50%;
    -moz-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    -o-transform-origin: 0 50%;
    transform-origin: 0 50%;
}


/*.contentindex:after
{
        position: absolute;
        content: ' ';
        left: 100%;
        margin-top: 75px;
        right: 0;
        bottom: 0;
        background-image: -webkit-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
        background-image: -moz-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
        background-image: -ms-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
        background-image: -o-linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
        background-image: linear-gradient(right, rgba(0,0,0,0.2) 0%, transparent 100%);
        pointer-events: none;
}

/* navigation */
nav
{
    position: fixed;
    left: -15.5em;
    top: 186px;
    bottom: 0;

    z-index: 1;
    cursor: pointer;
}

nav:after
{
    position: absolute;
    content: ' ';
    width: 0;
    height: 0;
    right: -70px;
    top: 50%;
    border-width: 15px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #211;
}

nav ul
{
    width: 14em;
    list-style-type: none;
    margin: 0;
    padding: 1em;
}

nav a:link, nav a:visited
{
    display: block;
    width: 100%;
    font-weight: bold;
    line-height: 2.5em;
    text-indent: 10px;
    text-decoration: none;
    color: #ffc;
    border-radius: 4px;
    outline: 0 none;
}

nav a:hover, nav a:focus
{
    color: #fff;
    background-color: #543;
    text-shadow: 0 0 4px #fff;
    box-shadow: inset 0 2px 2px rgba(0,0,0,0.2);
}

/* hovering */
article, .contentindex:after, nav, nav *
{
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
}

nav:hover
{
    left: 0;
}

nav:hover ~ .contentindex
{
    -webkit-transform: translateX(16em) perspective(600px) rotateY(10deg);
    -moz-transform: translateX(16em) perspective(600px) rotateY(10deg);
    -ms-transform: translateX(16em) perspective(600px) rotateY(10deg);
    -o-transform: translateX(16em) perspective(600px) rotateY(10deg);
    transform: translateX(16em) perspective(600px) rotateY(10deg);
}

nav:hover ~ .contentindex:after
{
    left: 60%;
}
